package com.tongguan.paypos.interfaces.impl;

import com.tongguan.paypos.interfaces.CashSuper;

/**
 * Created by Joylive on 2016/12/9 .
 */

public class CashContext  {

    private CashSuper cs;

    public CashContext(CashSuper cs) {
        this.cs = cs;
    }

    public double getResult(double money){
       return cs.acceptCash(money);
    }

}
